package com.bw.service;

import com.bw.bean.DaTi;
import com.bw.bean.LaiYuan;
import com.bw.bean.LiuLiangHour;
import com.bw.bean.TestTongJi;
import com.bw.dao.MyDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class MyServiceImpl implements MyService {
    @Resource
    MyDao myDao;

    //统计当日各小时新访客数 (流量分时统计)
    @Override
    public List<LiuLiangHour> list1() {
        return myDao.list1();
    }
    //答题情况统计轮播表格显示
    @Override
    public List<DaTi> list2() {
        return myDao.list2();
    }

    @Override
    public List<TestTongJi> list3() {
        return myDao.list3();
    }

    @Override
    public List<LaiYuan> list4() {
        return myDao.list4();
    }
}
